wat

wat generates activation tokens. Originally written to test the xdg-activation-v1 implementation of river.

Graphical applications can use these tokens to indicate urgency, or a relationship to a parent window or process. It should work on any Wayland server implementing the xdg-activation-v1 protocol.

You can find the code repository on sourcehut.

wat(1)

WAT(1)                                General Commands Manual                                WAT(1)

NAME
     wat - get Wayland xdg-activation tokens

SYNOPSIS
     wat [-h] [--help] [--app-id string] [--exec command] [--fork]

DESCRIPTION
     wat is a simple client implementing xdg-activation-v1 to get activation tokens.

     By  default,  the activation token is dumped to stdout, however wat also supported setting the
     XDG_ACTIVATION_TOKEN env var and executing command with sh(1).

OPTIONS
     -h, --help
            Print help and exit.

     --app-id app-id
            Set the app-id of the token.

     --exec command
            Set the command to execute.

     --fork
            If set, fork before executing the command.

AUTHOR
     Leon Henrik Plickat

git.sr.ht/~leon_plickat/wat                  2021-08-12                                      WAT(1)